<table border="0" align="center" cellpadding="0" cellspacing="1" class="navi">
	<tr>
		<th>当前位置：查看验证码列表| <a href="<?php echo SystemProperties::$app_host;?>/captcha/importsView">上传验证码类跨平台中奖信息 </a></th>
	</tr>
</table>

<br />
<FORM method="get" name="commentsProfile" action="<?php echo SystemProperties::$app_host;?>/captcha/listLucks/">
	<table width="100%" border="0" cellspacing="1"  cellpadding="0" class="navi" style="margin:10px;">
		<tr>
			<td>
				<label class="textbox" >搜索<b>产品名</b>: <INPUT id="q" name="q" value="<?=empty($q)?'':$q?>" /></label><INPUT class="comment_btn_Submit" type="submit" value="查询" /> </td>
			<td align="center"></td>

		</tr>

	</table>
</form>


<br />
<table border="0" align="center" cellpadding="0" cellspacing="1" class="list">
	<tr>
		<th>宝贝名称</th>
		<th>唯一号</th>
		<th>操作</th>
	</tr>

	<?php if ($error_msg){ ?>
	<tr>
		<td colspan=3 style="color: red;font-weight: bold;">错误提示：<?php echo $error_msg; ?></td>
	</tr>
	<?php } ?>

	<?php if ($info) { 
		foreach($info as $i) { ?>
	<tr>
		<td><?php echo $i['product_name'];?></td>
		<td><?php echo $i['luck_id'];?></td>
		<td>
			<a href="<?php echo SystemProperties::$app_host;?>/captcha/downloadLucks/<?php echo $i['luck_id'];?>">下载</a>
		</td>
	</tr>
	<?php } 
	}?>

</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="12">
			<div style="text-align: center">
			<?php echo CaptchaController::pager($page_total, $page, $url_prefix); ?>
			</div>
		</td>
	</tr>
</table>
